package com.kfm.base.oop;

public class Homework {

    {
        printA();
        a = 5;
    }

    int a = 1;

    {
        printA();
    }

    public Homework(int a){
        printA();
        this.a = a;
        printA();
    }


    public void printA(){
        System.out.println(a);
    }

    public static void main(String[] args) {
        new Homework(6); // 0 1 1 6
    }
}
